package com.edu.cloud.center.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/demo")
@FeignClient(name = "${edu.cloud.center.regist-name}",path = "${edu.cloud.center.path}", contextId = "IHelloApi")
public interface IHelloApi {

    @GetMapping("/hello")
    public String hello();
}
